home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / id-utils.2 / id-utils / id-utils-3.2 / src / defid < prev    next >
Encoding:
Text File  |  1996-07-17  |  110 b   |  7 lines

  1. #! /bin/sh
  2.  
  3. for sym
  4. do
  5.     gid $sym |egrep '(}[     ]*|:[     ]*#[     ]*define[     ]+)'$sym'|typedef\>.*[     ]+'$sym
  6. done
  7.